#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
#include"AVL.h"


int main()
{
	AVL<int,int> av;
	int a[] = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14 };
	for (auto e : a)
	{
		av.insert(make_pair(e,e));
	}

	cout << "IsBalance: " << av.IsBalance() << endl;
	av.InOrder();


	return 0;
}
